Component({
  data: {},
  properties: {
    list: {
      type: Object,
      default: []
    }
  },
  methods: {
    //书籍详情
    detail: function (e) {
      var page = e.currentTarget.dataset.page
      var bookid = e.currentTarget.dataset.bookid
      // console.log(e.currentTarget)
      if (page) {
        wx.navigateTo({
          url: page + '?bookid=' + bookid,
        })
      }
    },
  }
})